package com.mytest.retrofit;

import com.mytest.bean.LoginBean;

import retrofit2.Call;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by Jzs on 2017/5/17.
 */

public interface LoginService {
    //    <string name="base_url_test">http://www.yigongkeji.cc:8010</string>

    @Headers("isUser:2")
    @POST("/mobile/index")
    Call<LoginBean> homeinfo(@Query("type") String type);

    @Headers("isUser:2")
    @POST("/mobile/weixiu/view/member/login")
    Call<LoginBean> login(@Query("mobile") String mobile, @Query("password") String pwd);

}
